package com.pg.agent.start.controller;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import com.pg.agent.engine.service.service.SopInitService;
import com.pg.base.vo.ResultVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @author huhuaping
 */
@Slf4j
@RestController
public class Test2Controller {


    @GetMapping("test2")
    public ResultVO<String> test(String data){


        log.info("receive data ={}",data);
        return ResultVO.instance(data);
    };
}
